package com.tuanzi.loan.business.entity.family;

import com.tuanzi.loan.core.entity.AuditEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.*;

/**
 * User: liangZongXi
 * Create time: 10:49 2019/8/21
 * Description:
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Table(name = "loan_large_amount_new_partner_info")
public class LoanLargeAmountNewPartnerInfo extends AuditEntity {
    private static final long serialVersionUID = -5514118158329850094L;

    @Id
    @Column(name = "ID")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    @Column(name = "PARTNER_ACCOUNT")
    @NotBlank(message = "合作方账户不能为空")
    private String partnerAccount;

    @Column(name = "CHANNEL_ND_INFO")
    private String channelNdInfo;
}
